/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.textbook.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 国家级规划教材Entity
 * @author hang
 * @version 2017-01-14
 */
public class TbScienceTextbook extends DataEntity<TbScienceTextbook> {
	
	private static final long serialVersionUID = 1L;
	private String textbookName;		// 教材名称
	private String author;		// 主要作者
	private String publishTime;		// 出版年月
	private String publisher;		// 出版单位
	private String printNum;		// 印本数
	private String authorSignature;		// 作者署名情况
	private String material;		// 证明材料
	private String useCondition;		// 教材使用情况（不超过100字）
	
	public TbScienceTextbook() {
		super();
	}

	public TbScienceTextbook(String id){
		super(id);
	}

	@Length(min=0, max=64, message="教材名称长度必须介于 0 和 64 之间")
	public String getTextbookName() {
		return textbookName;
	}

	public void setTextbookName(String textbookName) {
		this.textbookName = textbookName;
	}
	
	@Length(min=0, max=64, message="主要作者长度必须介于 0 和 64 之间")
	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}
	
	@Length(min=0, max=64, message="出版年月长度必须介于 0 和 64 之间")
	public String getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(String publishTime) {
		this.publishTime = publishTime;
	}
	
	@Length(min=0, max=64, message="出版单位长度必须介于 0 和 64 之间")
	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	
	@Length(min=0, max=64, message="印本数长度必须介于 0 和 64 之间")
	public String getPrintNum() {
		return printNum;
	}

	public void setPrintNum(String printNum) {
		this.printNum = printNum;
	}
	
	@Length(min=0, max=64, message="作者署名情况长度必须介于 0 和 64 之间")
	public String getAuthorSignature() {
		return authorSignature;
	}

	public void setAuthorSignature(String authorSignature) {
		this.authorSignature = authorSignature;
	}
	
	@Length(min=0, max=200, message="证明材料长度必须介于 0 和 200 之间")
	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}
	
	@Length(min=0, max=300, message="教材使用情况（不超过100字）长度必须介于 0 和 300 之间")
	public String getUseCondition() {
		return useCondition;
	}

	public void setUseCondition(String useCondition) {
		this.useCondition = useCondition;
	}
	
}